import pyautogui
import time

# 按下按键，keys：按键，可以是列表   presses：按下次数    interval：按下间隔   返回值：无返回值

pyautogui.moveTo(528, 60, 1)
pyautogui.tripleClick()
time.sleep(2)
pyautogui.press(keys="backspace", presses=1, interval=0)
pyautogui.press(keys="w", presses=3, interval=0.6)

# 按下、松开,这两步就等于press操作
pyautogui.keyDown('a')
pyautogui.keyUp('a')

# 热键，组合键 可输入不定长参数
pyautogui.hotkey('ctrl','a')